// 引入createApp 用于创建应用
import { createApp } from "vue";
// 引入根组件app
import App from "./App.vue";
import router from "@/router/index";

// 拆解 用于挂载路由和pinia
// createApp(App).mount('#app')
const app = createApp(App)
// 使用路由
app.use(router)
// 挂载APP
app.mount('#app')